package com.gmcc.tripleplay.control;

import com.gmcc.tripleplay.entity.AlbumSeries;
import com.sara.loader.Response;

public class AlbumSeriesResponse extends Response {

    public AlbumSeries series;

    public AlbumSeriesResponse() {

    }

    public AlbumSeriesResponse(Response response) {
        setCode(response.getCode());
        setDescription(response.getDescription());
        if (response.getResponseObject() != null
                && response.getResponseObject() instanceof AlbumSeries) {
            series = (AlbumSeries) response.getResponseObject();
        }
    }
}